//---------------------------------------------------------------------------

#ifndef TWarningMakeH
#define TWarningMakeH
#include "TIO.h"
#include "TElementSerialNumber.h"
#include "AdvGrid.hpp"
//---------------------------------------------------------------------------
class TWarningMake : public TElementSerialNumber
{
private:
   float FPosition;
protected:
public:
	float ioPosition;
   __property float Position = { read=FPosition, write=FPosition };

   TWarningMake & __fastcall operator = (const TWarningMake & t);
	__fastcall TWarningMake();
	bool __fastcall Initialize(const TMeasurementRate MeasurementRate);
   void __fastcall Save(const int Handle);
	void __fastcall Load(const int Handle);
};

class TWarningMakes : public vector<TWarningMake>
{
public:
	void __fastcall ResetIndex(void);
	TWarningMake __fastcall Find(const AnsiString SerialNumber);
	void __fastcall WriteAdvStringGrid(TAdvStringGrid * AdvStringGrid);
	void __fastcall ReadAdvStringGrid(TAdvStringGrid * AdvStringGrid);
};
#endif
